package crs.web.utilidades;

import java.util.List;
import java.util.Locale;

import javax.mail.MessagingException;
import javax.mail.internet.AddressException;

import org.springframework.context.MessageSource;
import org.springframework.context.NoSuchMessageException;

import crs.informes.forms.InformeForm;
import crs.mensajeria.forms.ContactoForm;
import crs.solicitudes.model.CrsSolicitudes;
import crs.users.forms.RegistroForm;
import crs.users.model.Users;

public interface Correos {
	
	void EnviarCorreoContacto(ContactoForm cf, MessageSource resource, Locale locale) throws AddressException, MessagingException;
	void EnviarCorreoAltaUsuario(Users us, MessageSource resource, Locale locale) throws MessagingException;
	void EnviarCorreoRegistroUsuario(RegistroForm rf, MessageSource resource, Locale locale,String codact) throws MessagingException;
	void EnviarCorreoAnulacionInf(InformeForm inf, MessageSource resource, Locale locale,CrsSolicitudes cs) throws NoSuchMessageException, MessagingException;
	void EnviarCorreoActivacionSes(List<Users> users, MessageSource resource, Locale locale, Long sesionid);
	
}
